Randomized Ternary Search Tries

نویسنده

  • Nicolai Diethelm
چکیده

A simple method for maintaining balance in ternary search tries is presented. The new kind of self-balancing ternary search trie, called an r-trie, generalizes the balancing strategy of Aragon and Seidel’s randomized binary search trees (treaps). This means that an r-trie is shaped like a ternary search trie built by inserting the strings in random order. As a result, the time cost of searching, inserting, or deleting a string of length k in an r-trie for n strings is in O(k + log n) with high probability.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

k-d Range Search with Binary Patricia Tries

We use Patricia tries to represent textual and spatial data, and present a range search algorithm for reporting all k-d records from a set of size n intersecting a query rectangle. Data and queries include both textual and spatial data. Patricia tries are evaluated experimentally (for n up to 1,000,000) using uniform distributed random spatial data and textual data selected from the Canadian to...

متن کامل

Self-Adjusting of Ternary Search Tries Using Conditional Rotations and Randomized Heuristics

A Ternary Search Trie (TST) is a highly efficient dynamic dictionary structure applicable for strings and textual data. The strings are accessed based on a set of access probabilities and are to be arranged using a TST. We consider the scenario where the probabilities are not known a priori, and is time-invariant. Our aim is to adaptively restructure the TST so as to yield the best access or re...

متن کامل

Combining Index Structures for application-specific String Similarity Predicates

This paper presents new approaches for supporting string similarity matching based on a combination of techniques from the fields of information technology and computational linguistics to achieve better results regarding accuracy and efficiency. The homogenization of plain text reduces the volume of index structures and concurrently increases the quality of hit-lists. Furthermore it shows the ...

متن کامل

Shedding new light on random trees

We introduce a weighted model of random trees and analyze the asymptotic properties of their heights. Our framework encompasses most trees of logarithmic height that were introduced in the context of the analysis of algorithms or combinatorics. This allows us to state a sort of“master theorem”for the height of random trees, that covers binary search trees (Devroye, 1986), random recursive trees...

متن کامل

Dynamical Sources in Information Theory: a General Analysis of Trie Structures Dynamical Sources in Information Theory: a General Analysis of Trie Structures Dynamical Sources in Information Theory: a General Analysis of Trie Structures

Digital trees, also known as tries, are a general purpose exible data structure that implements dictionaries built on sets of words. An analysis is given of three major representations of tries in the form of array-tries, list tries, and bst-tries ((ternary search triess). The size and the search costs of the corresponding representations are analysed precisely in the average case, while a comp...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1606.04042  شماره 

صفحات  -

تاریخ انتشار 2016